<%-- 
    Document   : index
    Created on : Aug 28, 2013, 11:32:32 AM
    Author     : doo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    </head>
    <body>

        <%
            // Récupération du message d'erreur 
            String erreur = (String) request.getAttribute("erreur");
            // Affichage du message s'il existe
          if (erreur != null) {%>
        <strong>Erreur : </strong><%=erreur%>
        <%
          }%>

        <form id="formIndex" name="formIndex" method="post" action="ControlForm">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td>IP serveur :</td>
                <tr><td><input name ="nomServeur" type="text" id="serveur" placeholder="localhost" name="localhost" value="localhost"/></td></tr>
                </tr>
                <tr>
                    <td width="33%">&nbsp;</td>
                    <td width="66%">&nbsp;</td>
                    <td width="99%">&nbsp;</td>
                </tr>
                <tr>
                <tr><td>Liste des processus <input name="methodes" type="checkbox" value="processus" /></td></tr> 
                <tr>  <td>Statut de la mémoire <input name="methodes" type="checkbox" value="memoire" /></td></tr>
                <tr>  <td>Statut du CPU <input name="methodes" type="checkbox" value="processeur" /></td></tr>
                </tr>
                <tr>

                    <td><input type="submit" name="valider" id="valider" value="Go!"></td>

                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>

                </tr>
            </table>
        </form>
        <form id="formIndex" name="formIndex" method="post" action="List">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <td><input type="submit" name="valider" id="historique" value="historique"></td>
            </table>
        </form>
        <br />
        <br />
        <br />
        <form id="formIndex" name="formIndex" method="post" action="cleanDB">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <td><input type="submit" name="valider" id="empty" value="vider la base de données"></td>
            </table>
        </form>
    </body>
</html>
